package com.qyer.lxp.order.service;

import com.qyer.lxp.model.Response;
import com.qyer.lxp.model.availability.normal.Available;
import com.qyer.lxp.model.orderstatus.normal.OrderStatus;
import com.qyer.lxp.model.orderstatus.normal.OrderStatuses;
import com.qyer.lxp.order.model.AvailableParam;
import com.qyer.lxp.order.model.OrderStatusParam;
import com.qyer.lxp.product.model.ProductParam;

import java.util.List;
import java.util.Map;

/**
 * Created by wangzhen on 16/6/24.
 */

public interface IBookProvideWebService {

    /**
     * 预定限制接口
     * @param param
     * @return
     * @throws Exception
     */
    public Response<Map<String,Object>> getBookLimit(ProductParam param)throws Exception;

    /**
     * 验价接口
     * @param param
     * @return
     * @throws Exception
     */
    public Response<Available> getAvailablity(AvailableParam param)throws Exception;

    /**
     * 获取订单状态
     * @param param
     * @return
     * @throws Exception
     */
    public Response<List<OrderStatus>> getOrderStatus(OrderStatusParam param) throws Exception;

}
